//
//  DataBaseHandle.h
//  TrekkingTravel
//
//  Created by dlios on 15/8/21.
//  Copyright (c) 2015年 TrekkingTravel. All rights reserved.
//

#import "BaseModel.h"
#import <sqlite3.h>
#import "MineModel.h"

@interface DataBaseHandle : BaseModel

+ (instancetype)shareDataBase;
- (void)OpenDB;
- (void)createTable;
- (void)insertCollections:(MineModel *)collectionM;
- (NSMutableArray *)selectAll;
/* 删除数据 */
- (void)deleteCollection:(NSString *)title;
/* 关闭数据库 */
- (void)close;
/* 删除表格*/
- (void)dropTable;

@end